using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
 
namespace Coriander.Google.Charting
{
    public class ChartRangeMarker
    {
        Color color = ColorTranslator.FromHtml("#E5ECF9");

        Double? start, end;

        /// <summary>
        /// An RRGGBB format hexadecimal number. Defaults to E5ECF9.
        /// </summary>
        public Color Color
        {
            get { return color; }
            set { color = value; }
        }

        /// <summary>
        /// Horizontal range markers is the position on the y-axis at which the range 
        /// ends where 0.00 is the bottom and 1.00 is the top.
        /// 
        /// For vertical range markers is the position on the x-axis at which the range
        /// ends where 0.00 is the left and 1.00 is the right.
        /// </summary>
        public Double? End
        {
            get { return end; }
            set { end = value; }
        }

        /// <summary>
        /// Horizontal range markers is the position on the y-axis at which the range 
        /// starts where 0.00 is the bottom and 1.00 is the top.
        /// 
        /// Vertical range markers is the position on the x-axis at which the range 
        /// starts where 0.00 is the left and 1.00 is the right.
        /// </summary>
        public Double? Start
        {
            get { return start; }
            set { start = value; }
        }
    }
}
